'use strict';

let
    Koa = require('koa'),
    app = new Koa(),
    port = 7070,
    model = require('./model');


(async ()=>{
    await model.sync();
})();


app.listen(port,()=>{
    console.log(`http://localhost:${port}`);
})